#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@File    ：api.py
@Author  ：平
@Date    ：2025/9/28 10:12 
"""
from fastapi import APIRouter

from app.api import health, agent, vector

api_router = APIRouter()
routers = [health, agent, vector]
for router in routers:
    if hasattr(router, "router"):
        api_router.include_router(router.router, tags=[router.__name__.split('.')[-1]])
